D a m s   w e r e   a n   i n t e g r a l   p a r t   o f   t h e   e c o n o m y   i n   a n c i e n t   C h i n a ,   e s p e c i a l l y   i n   r u r a l   a r e a s ,   w h i c h   w e r e   o f t e n   p l a g u e d   b y   f l o o d s   o r   p r o l o n g e d   d r o u g h t .   C o n s t r u c t i o n   o f   t h e s e   d a m s   w a s   r a t h e r   s i m p l e   a n d   c o n s i s t e d   m o s t l y   o f   d i r t   a n d   s t a c k e d   s t o n e s   t h a t   w o u l d   r e s t r i c t   t h e   f l o w   o f   a   r i v e r   t o   a   m e r e   t r i c k l e ,   t h u s   h e l p i n g   t o   r e t a i n   a   l o t   o f   w a t e r   f o r   i r r i g a t i o n . 